package com.ikun.pojo;

import java.util.Date;

public class TbComment {

    private Long id;
    private String content;
    private String pic;
    private String time;
    private Boolean state;
    private TbUser user;
    private TbTask task;
    private TbComment comment;

    public TbComment(Long id, String content, String pic, String time, Boolean state, TbUser user, TbTask task, TbComment comment) {
        this.id = id;
        this.content = content;
        this.pic = pic;
        this.time = time;
        this.state = state;
        this.user = user;
        this.task = task;
        this.comment = comment;
    }

    public TbComment(String content, String pic, String time, Boolean state, TbUser user, TbTask task, TbComment comment) {
        this.content = content;
        this.pic = pic;
        this.time = time;
        this.state = state;
        this.user = user;
        this.task = task;
        this.comment = comment;
    }

    public TbComment() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public TbUser getUser() {
        return user;
    }

    public void setUser(TbUser user) {
        this.user = user;
    }

    public TbTask getTask() {
        return task;
    }

    public void setTask(TbTask task) {
        this.task = task;
    }

    public TbComment getComment() {
        return comment;
    }

    public void setComment(TbComment comment) {
        this.comment = comment;
    }
}